<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2019/3/30
  Time: 21:02
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
  <meta charset="UTF-8">
  <title>登录</title>
  <link rel="stylesheet" href="utf8/css/style.css">
  <script src='https://code.jquery.com/jquery-1.10.0.min.js'></script>
  <script  src="js/index.js"></script>
</head>
<body>
<div class="login-wrap">
  <h2>Login</h2>
  <div class="form">
    <form action="utf8/login" method="POST">
      <input type="text" placeholder="Username" name="name" required/>
      <input type="password" placeholder="Password" name="password" required/>
      <button type="submit"> 登录 </button>
    </form>
  </div>
</div>
</body>
</html>


<%--在普通的链接如：href,acion等与ModelAndView 存在目标文件加载外部资源路径的差异，导致页面异常显示--%>